package com.ruoyi.cbs.evaluate.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 承包商考核记录对象 cbs_evaluate_record
 * 
 * @author ruoyi
 * @date 2025-11-11
 */
public class EvaluateRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 承包商id */
    @Excel(name = "承包商id")
    private Long contractorId;

    /** 项目id */
    @Excel(name = "项目id")
    private Long projectId;

    /** 考核模板id */
    @Excel(name = "考核模板id")
    private Long templateId;

    /** 考核周期序号 */
    @Excel(name = "考核周期序号")
    private Long cycleNum;

    /** 考核得分 */
    @Excel(name = "考核得分")
    private Long score;

    /** 考核人 */
    @Excel(name = "考核人")
    private String evaluateUser;

    /** 考核人id */
    @Excel(name = "考核人id")
    private Long evaluateUserId;

    /** 考核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "考核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date evaluateDate;

    /** 考评 */
    @Excel(name = "考评")
    private String comment;

    /** 删除标志（1代表存在 0代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setContractorId(Long contractorId) 
    {
        this.contractorId = contractorId;
    }

    public Long getContractorId() 
    {
        return contractorId;
    }

    public void setProjectId(Long projectId) 
    {
        this.projectId = projectId;
    }

    public Long getProjectId() 
    {
        return projectId;
    }

    public void setTemplateId(Long templateId) 
    {
        this.templateId = templateId;
    }

    public Long getTemplateId() 
    {
        return templateId;
    }

    public void setCycleNum(Long cycleNum) 
    {
        this.cycleNum = cycleNum;
    }

    public Long getCycleNum() 
    {
        return cycleNum;
    }

    public void setScore(Long score) 
    {
        this.score = score;
    }

    public Long getScore() 
    {
        return score;
    }

    public void setEvaluateUser(String evaluateUser) 
    {
        this.evaluateUser = evaluateUser;
    }

    public String getEvaluateUser() 
    {
        return evaluateUser;
    }

    public void setEvaluateUserId(Long evaluateUserId) 
    {
        this.evaluateUserId = evaluateUserId;
    }

    public Long getEvaluateUserId() 
    {
        return evaluateUserId;
    }

    public void setEvaluateDate(Date evaluateDate) 
    {
        this.evaluateDate = evaluateDate;
    }

    public Date getEvaluateDate() 
    {
        return evaluateDate;
    }

    public void setComment(String comment) 
    {
        this.comment = comment;
    }

    public String getComment() 
    {
        return comment;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("contractorId", getContractorId())
            .append("projectId", getProjectId())
            .append("templateId", getTemplateId())
            .append("cycleNum", getCycleNum())
            .append("score", getScore())
            .append("evaluateUser", getEvaluateUser())
            .append("evaluateUserId", getEvaluateUserId())
            .append("evaluateDate", getEvaluateDate())
            .append("comment", getComment())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
